﻿<%@ Control Language="C#" ClassName="UnitTableFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataUnitDescrption" runat="server" Text="Unit Descrption:" AssociatedControlID="dataUnitDescrption" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUnitDescrption" Text='<%# Bind("UnitDescrption") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUnitCode" runat="server" Text="Unit Code:" AssociatedControlID="dataUnitCode" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUnitCode" Text='<%# Bind("UnitCode") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUnitCode" runat="server" Display="Dynamic" ControlToValidate="dataUnitCode" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


